<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>创建vue根实例</title>
</head>
<body><script src="/js/vue.js"></script>
<div id ="app">
   <p>{{msg}}</p >
</div>

<script>
   let app =new Vue({
     el:"#app",
     data:{
       msg:'vue实例创建成功了！'
     }
   })
</script> 
    
</body>
</html>